⚠️ Beta Access Required
Contact your sales representative to gain access to this endpoint and start using it.
Use the /ranking endpoint to re-rank objects to show on a page. This endpoint can retrieve sponsored
and non-sonsored objects and rank them together, according to an appropriate context and behavior information.
A valid API key generated in Topsort's UI.
The context information to get the ranking, to rank organic and sponsored products.
1 - 5 elements[
{
"type": "listings",
"slots": 3,
"pageSize": 3,
"page": {
"type": "category",
"value": "sneakers",
"pageId": "/category/sneakers"
},
"opaqueUserId": "u_9ske45"
}
]The ranking results. The list of winners will contain at most slots entries per auction. It may contain fewer or no entries at all if there aren't enough products to fill the slots.
1 - 5 elements[
{
"resultType": "listings",
"results": [],
"error": false
}
]